//
//  TSWaterfallHeader.m
//  taosha
//
//  Created by lienbao on 16/05/2014.
//  Copyright (c) 2014 com.b5m.taosha. All rights reserved.
//

#import "WSWaterfallHeader.h"

@interface WSWaterfallHeader ()

@end

@implementation WSWaterfallHeader

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
	// Initialization code
        CGFloat xOffset = 10;
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(xOffset, 0, frame.size.width, frame.size.height)];
        _titleLabel.backgroundColor = [UIColor clearColor];
        _titleLabel.textColor = [UIColor blackColor];
        _titleLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:_titleLabel];
    }
    return self;
}

@end
